import request from '../utils/request'

import {loginTs} from '../type/loginType'

enum API{
    //登录路径
    LOGIN_URL='/login'
}

export const loginApi = (data:loginTs) => {
    return request.post(API.LOGIN_URL,data)
}